Operator LED

Operator Library: Hardware Platform

The LED operator provides an interface for accessing the board user LEDs of the frame grabber via the applet.

Driving a logic HIGH on the input forces the correspondent board LED to light on. Driving a logic LOW on the input forces the correspondent board LED to light off.

For the exact location of board LEDs on the frame grabber, see the manual of your frame grabber.

Available for Hardware Platforms
imaFlex 2 Dual 100
imaFlex CXP-12 Penta
imaFlex CXP-12 Quad
mE5 marathon VCLx
mE5 marathon VCL
mE5 marathon VCX-QP1
mE5 marathon VF2
LightBridge VCL
mE5 ironman VQ8-CXP6D
mE5 ironman VQ8-CXP6B
mE5 ironman VD8-PoCL

1

On marathon VCX-QP, the numbering of the LEDs is mirrored, see parameter description of parameter Port below.

Resources

The operator mirrors the Port parameter settings into the FPGA Device Resources dialog as read-only parameters. You can see the FPGA device resources, if you open the FPGA Device Resources dialog from the Analysis menu. The device resources are read-only:

FPGA Device Resources All Platforms Except imaFlex 2 Dual 100

Figure 436. FPGA Device Resources All Platforms Except imaFlex 2 Dual 100


For the imaFlex 2 Dual 100 platform, the operator is using a read-only resource of type User LED, which is influenced by the Port operator parameter. The User LED resource index is always the Port label value, i.e., USR1 is mapped to the User LED resource index 1 and USR6 to the User LED resource index 6.

FPGA Device Resources of imaFlex 2 Dual 100

Figure 437. FPGA Device Resources of imaFlex 2 Dual 100


I/O Properties

Property Value
Operator Type M
Input Link I, signal input

Supported Link Format

Link Parameter Input Link I
Bit Width 1
Arithmetic unsigned
Parallelism 1
Kernel Columns 1
Kernel Rows 1
Img Protocol VALT_SIGNAL
Color Format VAF_GRAY
Color Flavor FL_NONE
Max. Img Width any
Max. Img Height any

Parameters

Port (imaflex, mE5 marathon, and LightBridge VCL platforms)
Type static write parameter
Default USR1
Range

imaFlex 2 Dual 100, imaFlex CXP-12 Penta, and imaFlex CXP-12 Quad: {USR1, USR2, USR3, USR4, USR5, USR6}

LightBridge VCL, mE5 marathon VCLx, and mE5 marathon VCL: {USR1, USR2}

mE5 marathon VCX-QP and mE5 marathon VF2: {USR1, USR2, USR3, USR4}

The parameter defines which of the board LEDs will be connected by the operator.

imaFlex 2 Dual 100, imaFlex CXP-12 Penta and imaFlex CXP-12 Quad:

  • USR1 maps the operator to the LED USR1.

  • USR2 maps the operator to the LED USR2.

  • USR3 maps the operator to the LED USR3.

  • USR4 maps the operator to the LED USR4.

  • USR5 maps the operator to the LED USR5.

  • USR6 maps the operator to the LED USR6.

On the imaFlex 2 Dual 100, the board LEDs are located in the following positions:

LEDs on the imaFlex 2 Dual 100 Board

Figure 438. LEDs on the imaFlex 2 Dual 100 Board


On the imaFlex CXP-12 Penta, the board LEDs are located in the following positions:

LEDs on the imaFlex CXP-12 Penta Board

Figure 439. LEDs on the imaFlex CXP-12 Penta Board


On the imaFlex CXP-12 Quad, the board LEDs are located in the following positions:

LEDs on the imaFlex CXP-12 Quad Board

Figure 440. LEDs on the imaFlex CXP-12 Quad Board


mE5 marathon VCLx, mE5 marathon VCL, LightBridge VCL:

  • USR1 maps the operator to the LED USR1.

  • USR2 maps the operator to the LED USR2.

mE5 marathon VF2:

  • USR1 maps the operator to the LED USR1.

  • USR2 maps the operator to the LED USR2.

  • USR3 maps the operator to the LED USR3.

  • USR4 maps the operator to the LED USR4.

mE5 marathon VCX-QP:

  • USR1 maps the operator to the LED 4.

  • USR2 maps the operator to the LED 3.

  • USR3 maps the operator to the LED 2.

  • USR4 maps the operator to the LED 1.

To turn the LED ON, the input I must be driven HIGH. To turn the LED OFF, the input I must be driven LOW.

[Important] Availability

This parameter is used with the following platforms:

  • imaFlex 2 Dual 100, imaFlex CXP-12 Penta, and imaFlex CXP-12 Quad (value range {USR1, USR2, USR3, USR4, USR5, USR6})

  • mE5 marathon VCLx (value range {USR1, USR2})

  • mE5 marathon VCL (value range {USR1, USR2})

  • mE5 marathon VCX-QP (value range {USR1, USR2, USR3, USR4})

  • mE5 marathon VF2 (value range {USR1, USR2, USR3, USR4})

  • LightBridge VCL (value range {USR1, USR2})

Pin_ID (ironman platforms)
Type static write parameter
Default 0
Range [0;3]

The Pin_ID parameter defines which of the 4 board LEDs will be connected by the operator. Range is [0; 3].

[Important] Availability

This parameter is used with these platforms:

  • mE5 ironman VQ8-CXP6D

  • mE5 ironman VQ8-CXP6B

  • mE5 ironman VD8-PoCL

Examples of Use

The use of operator LED is shown in the following examples:

  • 'Hardware Test'

    An example for hardware self test of DMA, RAM, GPIOs, Trigger and LEDs.